package com.qingcheng.pojo.goods;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author: LDeng
 * @Date: 2020-04-15 14:39
 */
@Data
@Table(name="tb_category_brand") //指定对应表
public class CategoryBrand implements Serializable {

    @Id//指定主键
    private Integer categoryId;
    @Id
    private Integer brandId;
}
